/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * JPanelRopa.java
 *
 * Created on Apr 4, 2010, 2:24:10 PM
 */

package tiendagui.internal.paneles;

import controller.utils.ControllerPanelHogar;

/**
 *
 * @author Jhonny
 */
public class JPanelAccesorios extends JPanelImpl {
	private static final long serialVersionUID = -8187417045269103911L;

	/** Creates new form JPanelRopa */
    public JPanelAccesorios() {
        initComponents();
        controller = new ControllerPanelHogar(this);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        labelNombre = new javax.swing.JLabel();
        textFieldNombre = new javax.swing.JTextField();
        labelComposicion = new javax.swing.JLabel();
        textFieldComposicion = new javax.swing.JTextField();
        labelMedidas = new javax.swing.JLabel();
        textFieldMedidas = new javax.swing.JTextField();
        labelCategoria = new javax.swing.JLabel();
        textFieldCategoria = new javax.swing.JTextField();

        setName("Form"); // NOI18N

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(tiendagui.TiendaGUIApp.class).getContext().getResourceMap(JPanelAccesorios.class);
        labelNombre.setText(resourceMap.getString("labelNombre.text")); // NOI18N
        labelNombre.setName("labelNombre"); // NOI18N

        textFieldNombre.setText(resourceMap.getString("textFieldNombre.text")); // NOI18N
        textFieldNombre.setName("textFieldNombre"); // NOI18N

        labelComposicion.setText(resourceMap.getString("labelComposicion.text")); // NOI18N
        labelComposicion.setName("labelComposicion"); // NOI18N

        textFieldComposicion.setName("textFieldComposicion"); // NOI18N

        labelMedidas.setText(resourceMap.getString("labelMedidas.text")); // NOI18N
        labelMedidas.setName("labelMedidas"); // NOI18N

        textFieldMedidas.setName("textFieldMedidas"); // NOI18N

        labelCategoria.setText(resourceMap.getString("labelCategoria.text")); // NOI18N
        labelCategoria.setName("labelCategoria"); // NOI18N

        textFieldCategoria.setName("textFieldCategoria"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(labelNombre)
                        .addGap(14, 14, 14)
                        .addComponent(textFieldNombre, javax.swing.GroupLayout.DEFAULT_SIZE, 195, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(labelComposicion)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(textFieldComposicion, javax.swing.GroupLayout.DEFAULT_SIZE, 183, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(labelMedidas)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(textFieldMedidas, javax.swing.GroupLayout.DEFAULT_SIZE, 203, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(labelCategoria)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(textFieldCategoria, javax.swing.GroupLayout.DEFAULT_SIZE, 195, Short.MAX_VALUE)))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelNombre)
                    .addComponent(textFieldNombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelComposicion)
                    .addComponent(textFieldComposicion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelMedidas)
                    .addComponent(textFieldMedidas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(labelCategoria)
                    .addComponent(textFieldCategoria, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel labelCategoria;
    private javax.swing.JLabel labelComposicion;
    private javax.swing.JLabel labelMedidas;
    private javax.swing.JLabel labelNombre;
    private javax.swing.JTextField textFieldCategoria;
    private javax.swing.JTextField textFieldComposicion;
    private javax.swing.JTextField textFieldMedidas;
    private javax.swing.JTextField textFieldNombre;
    // End of variables declaration//GEN-END:variables

    public void setNombre(String nombre) {
        textFieldNombre.setText(nombre);
    }

    public void setComposicion(String composicion) {
        textFieldComposicion.setText(composicion);
    }

    public void setMedidas(String medidas) {
        textFieldMedidas.setText(medidas);
    }

    public void setCategoria(String categoria) {
        textFieldCategoria.setText(categoria);
    }

}
